package Program;

import java.awt.BorderLayout;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import cky_interface.MainFrame;

public class Application {

	public static void main(String[] args) {

		MainFrame f = new MainFrame();
		f.setTitle("CKY Algorithm Demo");
		f.addWindowListener(new WindowAdapter(){
			public void windowClosing(WindowEvent event)
			{
				System.exit(0);
			}
		});
		
		f.setLayout(new BorderLayout());

		f.InitializeComponent();
		
		f.setBounds(0,0,800,600);
		//f.setSize(new Dimension(800,600));
		f.setVisible(true);

	}

}
